xen/public: add comment to struct xen_mem_acquire_resource
authorJuergen Gross <jgross@suse.com>
Fri, 25 Feb 2022 10:10:19 +0000 (11:10 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Feb 2022 10:10:19 +0000 (11:10 +0100)
commitf0f2f42c21de82ff65672e8ecfadcfddc63f2186
tree51ec7485be9b469e964624b7d44398de607e9269
parent676450d24670abbc0518447b2488ab5d4d568822
xen/public: add comment to struct xen_mem_acquire_resource

Commit 7c7f7e8fba01 changed xen/include/public/memory.h in an incompatible
way. Unfortunately the changed parts were already in use in the Linux
kernel, so an update of the header in the kernel would result in a build
breakage.

As the change of above commit was in a section originally meant to be not
stable, it was the usage in the kernel which was wrong.

Add a comment to the modified struct for not reusing the now removed bit,
in order to avoid kernels using it stumbling over a possible new meaning
of the bit.

In case the kernel is updating to a new version of the header, the wrong
use case must be removed first.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/memory.h